package com.hzeport.bgs22emduty.outbound;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hzeport.bgs22emduty.dto.DutydignInfoListDTO;
import com.hzeport.bgs22emduty.dto.DutydignInfoListoneDTO;
import com.hzeport.bgs22emduty.entity.DutyScheduleInfo;
import com.hzeport.bgs22emduty.vo.dutydignInfo.DutydignInfoListVO;
import com.hzeport.bgs22emduty.vo.dutydignInfo.DutydignInfoListoneVO;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;


/**
 * ${comments}
 *
 * @author code generator
 * @date 2022-12-02 11:21:59
 */
public interface DutyScheduleInfoRepository extends IService<DutyScheduleInfo> {

    List<DutydignInfoListoneVO> listone(DutydignInfoListoneDTO dutydignInfoListoneDTO);

    List<DutydignInfoListVO> listForCustom(DutydignInfoListDTO dutydignInfoListDTO);

    String getDtype(DutyScheduleInfo scheduleInfo);

    List<DutyScheduleInfo> getTimeDTOForNow(String customnName, LocalDate today, LocalTime toLocalTime, LocalDate yesterday);
}

